<?
$templateInput = new Form($_POST["tab"]);
//$templateInput->setModelForm();
$templateInput->setFieldSet();
$templateInput->submitDataForm();						
$templateInput->setButtonControlInput();
$templateInput->setInput();
//$templateInput->setValidate();
//$data = '<div class="row-fluid sortable ui-sortable">?>
<!--div class="box span12">
<div class="box-header well" data-original-title=""><h2><i class="icon-edit"/>Form Elements</h2>
<div class="box-icon">
<a href="#" class="btn btn-setting btn-round"><i class="icon-cog"/>
<a id="a_'.THIS_CLASS.'" href="javascript:hideForm(\''.THIS_CLASS.'\')" class="btn btn-minimize btn-round"><i id="i_'.THIS_CLASS.'" class="icon-chevron-up"/></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"/></a></a>
</div></div>
<div class="box-content"-->
<?
$data = '<form class="form-horizontal" id="form_'.THIS_CLASS.'" name="form_'.THIS_CLASS.'" method="post" target="up_iframe" class="forms" action="ajaxLoadPage.php?class='.THIS_CLASS.'&function=ajaxActionForm" onSubmit="return submitForm_'.THIS_CLASS.'('.$templateInput->enctype.')">';
$data .= $templateInput->dataInput;
$data .= '</form>';
//$data .= '</div></div>';
echo $data;


?>

